//
//  RYCycleScrollView.h
//  NOAHWM
//
//  Created by Ryan on 13-6-17.
//  Copyright (c) 2013年 Ryan. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol RYCycleScrollViewDelegate;

@interface RYCycleScrollView : UIScrollView<UIScrollViewDelegate>

@property (nonatomic, retain) NSMutableArray *cycleArray;
@property (nonatomic, assign) id<RYCycleScrollViewDelegate> cycleDelegate;

- (void)reloadWithImages:(NSArray *)images;
@end

@protocol RYCycleScrollViewDelegate <UIScrollViewDelegate>

- (void)didCycleScrollViewTappedWithIndex:(NSInteger)index;

@end